package org.beangle.notification

//remove if not needed
import scala.collection.JavaConversions._

/**
 * 消息通知任务
 */
trait NotificationTask[T <: Message] {

  def notifier: Notifier[T]

  def notifier_=(notifier: Notifier[T]): Unit

  def messageQueue(): MessageQueue[T]

  def messageQueue_=(messageQueue: MessageQueue[T]): Unit

  def send(): Unit
}
